package dbsucxentW.constantW;

public class EdgeConstant {

	//klarinda 20070525 - never had time to organize the constants :(
	//bulk loader
	public final static int NO_OF_TABLES 	= 6;	//attribute, doc, edge path, textcontent, attrcontent
	public final static int DOCUMENT_TABLE 	= 0;
	public final static int PATH_TABLE 		= 1;
	public final static int EDGE_TABLE 		= 2;
	public final static int ATTRIBUTE_TABLE 	= 3;
	public final static int TEXTCONTENT_TABLE = 4;
	public final static int ATTRCONTENT_TABLE = 5;

	public final static int LARGETEXTDATA = 256;	//text data >= 256 bytes is stored in TEXTCONTENT table


	//public final static String BULKFILEPATH = "D:/sucxent/sucxent/bulk/Edge/";
	// public final static String BULKFILEPATH = "C:/Klarinda/sucxent/bulk/Edge/"; //for experiments
	public static String BULKFILEPATH = "C:/Klarinda/sucxent/bulk/Edge/"; //for experiments
	public final static String[] TABLE_NAMES = {"Document", "Path", "Edge", "Attribute"
		, "TextContent", "AttrContent"};

	//for translation
	public final static int UNKNOWNAXIS = -1;
	public final static int CHILD = 0, FOLLOWING = 1, PRECEDING = 2, FOLLOWING_SIBLING = 3, PRECEDING_SIBLING = 4;
	public final static int ATTRIBUTE = 5, PARENT = 6, SELF = 7;
	public final static int ANCESTOR = 8, ANCESTOR_OR_SELF = 9, DESCENDANT = 10, DESCENDANT_OR_SELF = 11;
}
